package com.atwisdom.star.core.bsl.planner.entity;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ProductionPlanOrder {
    public final String className = "ProductionPlanOrder";
    private int id;
    private String code;
    private String name;
    private String orderType;
    //订单日期
    private Date orderDate;
    private String orderCode;
    private Long materialId;
    private String materialName;
    private String materialPCode;
    private String materialBCode;
    private String materialModel;
    private String materialSpec;
    private String materialUnit;
    private String bomCode;
    private String equipCodes;
    private String equipNames;
    private String wppName;
    private String wppCode;
    //是否锁定
    private boolean locked;
    //已生成计划
    private boolean created;

    private int status;
    private Date startDate; //委外开始时间
    private Date endDate;   //委外完成时间
    private Integer quantity;
    private Double workHours;
    //订单明细
    private List<ProductionPlanOrderSub> productionPlanOrderSubList;
}
